package com.sinosoft.attachment;

import java.util.List;

public interface AttachmentManager  {

	List<Attachment> getAttachments(Attachment a,int index,int pagesize);

	Attachment saveAttachment(Attachment attachment);

	int getAttachmentNum(Attachment attachment);
	
	Attachment getAttachmentById(Long achid);
	
	void deleteAttachmentById(Attachment ach);
}
